
; start BS_ set

BS_OEMName		DB	'miucsfat'	; 8 bytes
BPB_BytsPerSec	DW	512
BPB_SecPerClus	DB	1
BPB_RsvdSecCnt	DW	1
BPB_NumFATs		DB	2
BPB_RootEntCnt	DW	224
BPB_TotSec16	DW	2880
BPB_Media		DB	0xF0
BPB_FATSz16		DW	9
BPB_SecPerTrk	DW	18
BPB_NumHeads	DW	2
BPB_HiddSec		DD	0
BPB_TotSec32	DD	0
BS_DrvNum		DB	0
BS_Reserved1	DB	0
BS_BootSig		DB	29h
BS_VolID		DD	0
BS_VolLab		DB	' Myos 0.05 '	; 11 bytes
BS_FileSysType	DB	'FAT12   '		; 8  bytes

; BS_ set end

; other set

RootDirSectors	equ	14		;224*32 / 512 = 14
SectorNoOfRootDirectory	equ	19	;RootDirectory start at 19 dont ask me why
SectorNoOfFAT1	equ 1			;Boot use no.0 sector so FAT start at 1 = BPB_RsvdSecCnt
DeltaSectorNo	equ	17		;equ BPB_RsvdSecCnt + FAT_table_nums * FAT_size -2

; set end